import controller.UserController;
import controller.WorkOutController;
import controller.WorkOutProgramController;
import model.SportsExercise;
import model.User;
import model.WorkOutProgram;
import gui.MainWindow;

import java.util.ArrayList;
import java.util.Date;
import java.text.DateFormat;
import java.text.SimpleDateFormat;

import db.*;

public class Main {

	
	public static void main(String[] args) {
        	new MainWindow();
        	
        	
        	//WorkOutController workOutCtr = new WorkOutController();
        	//workOutCtr.newWorkOut("2011-05-02", 220.2, "Hejejjdsjajsajd dasd ", "22:12:22", true, "mikkel.gunvald@gmail.com", 1);
        	/*
        	WorkOutProgramController programCtr = new WorkOutProgramController();
        	
        	ArrayList<WorkOutProgram> program = new ArrayList<WorkOutProgram>();
        	
        	program = programCtr.findUserWorkOutPrograms("mikkel@gunvald.net", true);
        	System.out.println(program.toString());
            	*/
        	/*
        	UserController userCtr = new UserController();
        	userCtr.insertNew("hej@hwddk","thomas","hansen",getDateTime(),12.2, 55.2, "male");
        	*/
        
        }
	public static String getDateTime() {
        DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
        Date date = new Date();
        return dateFormat.format(date);
    }

}


